﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Restaurant
{
    public partial class MesssagePanel : UserControl
    {
        public MesssagePanel()
        {
            InitializeComponent();
        }

        public string username
        {
            get { return this.label1.Text; }
            set { this.label1.Text= value; }
        }
        public string msgcontent
        {
            get { return this.label2.Text; }
            set { this.label2.Text = value; }
        }
        
        private void MesssagePanel_Load(object sender, EventArgs e)
        {

        }
    }
}
